package com.cmict.data.bpm.service.message.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
* 流程用户消息 Base DTO，提供给添加、修改、详细的子 DTO 使用
*/
@Data
public class TaskCarbonDTO {

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    private String processDefinitionId;

    private String processDefinitionName;

    @ApiModelProperty(value = "流程实例ID", required = true)
    @NotNull(message = "流程实例ID不能为空")
    private String processInstanceId;

    private String processInstanceName;

    @ApiModelProperty(value = "流程实例ID", required = true)
//    @NotNull(message = "流程实例ID不能为空")
    private String taskId;

    private String taskName;

    @ApiModelProperty(value = "阅读状态，0:未阅读 1:已阅读")
    private Boolean status;

    private Long startUserId;
}
